<?php
/**
 * Detects if the user is logged in. This one detects that the user is logged in as customer.
 * The one in the admin module with the same name detects that the user is logged in as an admin.
 * @todo I'm not sure I like the way I've done this (with the multiple isLoggedIn classes)
 */
class ImpSoft_View_Helper_IsLoggedIn {

	public function isLoggedIn() {
	
		$auth = Zend_Auth::getInstance();
		return $auth->hasIdentity();
	
	}

}